projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a124d17
)
fontchooser: Fix leak
author
Benjamin Otte
<otte@redhat.com>
Tue, 20 Sep 2011 22:14:02 +0000
(
00:14
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 22 Sep 2011 19:44:05 +0000
(21:44 +0200)
the path variable is set, not filled in.
gtk/gtkfontchooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfontchooserwidget.c
b/gtk/gtkfontchooserwidget.c
index f99ec3585103684d3b184519c4010bb6d1558066..f80c9002133b352fb3585bdea0399f06310c0730 100644
(file)
--- a/
gtk/gtkfontchooserwidget.c
+++ b/
gtk/gtkfontchooserwidget.c
@@
-374,7
+374,7
@@
cursor_changed_cb (GtkTreeView *treeview,
gint i, n_sizes;
GtkTreeIter iter;
- GtkTreePath *path =
gtk_tree_path_new ()
;
+ GtkTreePath *path =
NULL
;
gtk_tree_view_get_cursor (treeview, &path, NULL);